package bhbt.controller.admin.sys;


import java.util.HashMap;
import java.util.Map;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import bhbt.controller.core.BaseController;
import bhbt.service.TelValService;
import bhbt.taglib.pagetag.Pagination;
import bhbt.utils.MapUtil;






/**
 * Created by Administrator on 2016/3/25.
 */
@Controller

public class TelValListController extends BaseController {
    @Resource
    private TelValService telValService;
   
   
    @RequestMapping("admin/sys/telValList.shtml")
    public String list(HttpServletRequest request) throws Exception{
        HashMap formMap = getParameterMap(request);
       
        formMap.put("pagination.orderBy","id desc");
        Pagination page = telValService.queryForPageList(formMap);
        request.setAttribute(Pagination.pageBeanName, page);
        return "admin/sys/telValList";
    }

    
}
